<div class="weui-tab">
    <div class="weui-tab__panel">
        <router-outlet></router-outlet>
    </div>
    <ul class="weui-tabbar">
        <ng-template ngFor let-menu [ngForOf]="menus">
            <a *ngIf="!menu.data.hiden" routerLink="/{{menu.path}}" class="weui-tabbar__item " routerLinkActive="weui-bar__item_on">
                <i class="weui-tabbar__icon {{menu.data.icon}}"></i>
                <p class="weui-tabbar__label">{{menu.data.title||menu.path}}</p>
            </a>
        </ng-template>
    </ul>
</div>